
public class fanzhuan {
	public static void main(String[] args) {
		String str="abcdefghijk";
		char a[]=str.toCharArray();
		System.out.println(str);
		char tmp;
		for(int i=0,j=a.length-1;i<a.length/2;i++,j--) {
			tmp=a[i];
			a[i]=a[j];
			a[j]=tmp;
		}
		for(int i=0;i<a.length;i++) {
			System.out.print(a[i]);
		}
	}
}
